<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h2 class="green">Add a new user</h2>
<s:actionerror />
<s:fielderror />
<s:actionmessage />
<s:form action="user_add">
	<s:textfield name="newUser.userName" label="User Name" required="true"/>
	<s:password name="newUser.password" label="Password" required="true"/>
	<s:select list="userRoleList" name="newUser.userRole.id" listKey="id" listValue="name" label="User Role" required="true"/>
	<s:textfield name="newUser.contactInfo.email1" label="Email 1" required="true"/>
	<s:textfield name="newUser.contactInfo.email2" label="Email 2"/>
	<s:textfield name="newUser.contactInfo.email3" label="Email 3"/>
	<s:textfield name="newUser.contactInfo.telephone" label="Telephone"/>
	<s:textfield name="newUser.contactInfo.mobile" label="Mobile"/>
	<s:textfield name="newUser.contactInfo.web" label="Web"/>
	<s:textfield name="newUser.contactInfo.fax" label="Fax"/>
	<s:select list="countryList" name="newUser.contactInfo.country" label="Country"/>
	<s:select list="teamList" name="newUser.team.id" listKey="id" label="Team" required="true"/>
	<s:submit/>
</s:form>
</body>
</html>